package io.kiki.sba.registry.client.provider;

import io.kiki.sba.registry.client.api.model.UserData;
import lombok.Getter;
import lombok.Setter;

import java.util.List;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

@Setter
@Getter
public class DefaultUserData implements UserData {

    /**
     * zone, List
     */
    @Getter
    private Map<String, List<String>> zoneToListMap = new ConcurrentHashMap<String, List<String>>();

    /**
     * The current client`s zone
     */
    private String localZone;


    @Override
    public String getLocalZone() {
        return localZone;
    }


}
